<?php



namespace App\Http\Requests\Company;

use App\Http\Requests\ApiV2\BaseRequest;

class MobileLoginRequest extends BaseRequest
{
    public function rules()
    {
        return [
            'mobile' => 'required',
        ];
    }

    public function messages()
    {
        return [
            'mobile.required' => __('请输入手机号'),
        ];
    }

    public function filldata()
    {
        return [
            'mobile' => $this->post('mobile'),
            'password'=>$this->post('password'),
        ];
    }
}
